#ifndef SOURCES_H
#define SOURCES_H

#include <QObject>
#include <QList>

#include "sourcesdata.h"

class Sources : public QObject
{
    Q_OBJECT
public:
    Sources(QObject *parent = nullptr);
    ~Sources();

    bool load();
    bool save();

signals:
    void SourcesLoaded(const QString &contents);

private:
    QList<QString> m_sources_list;
    QList<SourcesData> m_sources;
};

#endif // SOURCES_H
